package com.xinsoft.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xinsoft.entity.dto.ScmConsumingApplyDTO;
import com.xinsoft.entity.dto.ScmConsumingApplyParam;
import com.xinsoft.entity.po.ScmConsumingApply;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xinsoft.entity.vo.ScmConsumingApplyPageVo;
import com.xinsoft.entity.vo.ScmConsumingApplyVo;

import java.util.List;

/**
* @author ZYM
* @description 针对表【scm_consuming_apply(领用申请)】的数据库操作Service
* @createDate 2023-09-08 13:06:55
*/
public interface ScmConsumingApplyService extends IService<ScmConsumingApply> {

    IPage<ScmConsumingApplyPageVo> findPageListByParam(ScmConsumingApplyParam param);

    List<ScmConsumingApplyPageVo> findListByParam(ScmConsumingApplyParam param);

    Integer tempSave(ScmConsumingApplyDTO dto);

    ScmConsumingApplyVo detail(Integer id);

    void del(List<Integer> ids);

    void audit(Integer id);

    void reverseAudit(Integer id);
}
